﻿using System.Collections.Generic;
using System.Linq;

namespace Coleotrack.Core
{
    public interface IRepository<T> where T:IEntity
    {
        T Find(int id);
        IQueryable<T> All();
        int Count();
        IEnumerable<T> Select();
        void Save(T entity);
        void Delete(T entity);
    }
}
